<%@page import="com.situ.b2c.pojo.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>顶部页面</title>
</head>
<body>
	<table class="pagetop">
		<tr>
			<td colspan="3" class="pagetopLine"></td>
		</tr>
		<tr>
			<td class="menulogo"></td>
			<td align="right" valign="top" class="help">[&nbsp;<a href="register.jsp" target="_parent">注册&nbsp;</a>][&nbsp;<a href="login.jsp" target="_parent">会员登录&nbsp;</a>] 
			<%
			Object object = session.getAttribute("login_user");
			if(object != null){
				User user = (User)object;
			%>
			|&nbsp;<span><%=user.getUserName()%></span> 已登录| 
		<% 
			}
		%>
			
			 <a href="UserGoUpdateServlet" target="_parent">个人信息维护</a> | <a href="AddressSelectServlet" target="_parent">地址簿</a>|  <a href="home_nologin.jsp" target="_parent">退出</a></td>
		</tr>
	</table>
	<table class="menuMain">
		<tr align="center" class="menuLinkbg">
			<td width="40" class="menuLinkbgSel"><a href="index.jsp" class="menuLinkSel" target="_parent">首页</a></td>
			<td class="menuseq"></td>
			<td width="80"><a href="trade_query.jsp" class="menuLink" target="_parent"> 历史交易查询 </a></td>
			<td class="menuseq"></td>
			<td width="60"><a href="credit_query.jsp" class="menuLink" target="_parent">积分查询</a></td>
			<td class="menuseq"></td>
			<td width="60"><a href="item_search.jsp" class="menuLink" target="_parent">商品搜索</a></td>
			<td class="menuseq"></td>
			<td width="60"><a href="cart_list.jsp" class="menuLink" target="_parent">我的购物车</a></td>
			<td class="menuseq"></td>
			<td width="45"><a href="favorite.jsp" class="menuLink" target="_parent">收藏夹</a></td>
			<td class="menuseq"></td>
			<td align="left"><select name="category">
					<option value="5">所有类别</option>
					<option value="1">图书音像</option>
					<option value="2">时尚生活</option>
					<option value="3">饰品配件</option>
					<option value="4">数码产品</option>
			</select> <input type="text" name="textfield" size="15"> <input type="button" name="Submit" value="搜索" onClick="javascript:window.open('item_search_list.jsp','_parent','')"> <a href="send_notes.jsp" target="_parent" class="menuLink">送货说明</a></td>
		</tr>
		<tr>
			<td colspan="13" class="menuwhole"></td>
		</tr>
		<tr>
			<td colspan="13" class="menuline"></td>
		</tr>
	</table>
</body>
</html>